﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MAPDavy.Repository;
using MAPDavy.Entities;
using Microsoft.Practices.Unity;

namespace MAPDavy.BusinessLogic
{
    public class TutorBL:ITutorBL
    {
        [Dependency]
        public ITutorRepository TutorRepository { get; set; }

        public int AddTutor(Tutor tutor)
        {
            return TutorRepository.AddTutor(tutor);
        }
    }
}
